package com.gopay.common.domain.dps;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 红包业务明细表
 * Created by boai on 2017/1/5.
 */
@Entity
@Table(name = "WA_BOUNS_DETAIL_ORDER")
public class WaBounsDetailOrder extends BaseEntity {
	private static final long serialVersionUID = -3084046029040489L;
	private Integer bounsDetailOrderId ;
	private Integer bounsMainOrderId ;
	private String gopayOrderId;
	private String bounsType;
	private BigDecimal bounsAmt;
	private String bounsStatus;
	private String bounsWord;
	private Date recvTime;
	private Date createTime;
	private Date updateTime;
	private Integer version;
	private String payCustId;
	private String payAcctId;
	private String recvCustId;
	private String recvAcctId;
	private String remark;
	private String recvBounsMax;
	//中间账号 add by tangyang at20170105
	private String middleAcctId;
	
	private String recvBounsMaxDesc;
	
	
	@Id
    @Column(name = "BOUNS_DETAIL_ORDER_ID")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "wa_bouns_detail_order_seq")
    @SequenceGenerator(name = "wa_bouns_detail_order_seq", allocationSize = 1, initialValue = 1, sequenceName = "wa_bouns_detail_order_seq")
	public Integer getBounsDetailOrderId() {
		return bounsDetailOrderId;
	}

	public void setBounsDetailOrderId(Integer bounsDetailOrderId) {
		this.bounsDetailOrderId = bounsDetailOrderId;
	}
	@Column(name = "BOUNS_MAIN_ORDER_ID")
	public Integer getBounsMainOrderId() {
		return bounsMainOrderId;
	}

	public void setBounsMainOrderId(Integer bounsMainOrderId) {
		this.bounsMainOrderId = bounsMainOrderId;
	}
	@Column(name = "GOPAY_ORDER_ID")
	public String getGopayOrderId() {
		return gopayOrderId;
	}

	public void setGopayOrderId(String gopayOrderId) {
		this.gopayOrderId = gopayOrderId;
	}
	@Column(name = "BOUNS_TYPE")
	public String getBounsType() {
		return bounsType;
	}

	public void setBounsType(String bounsType) {
		this.bounsType = bounsType;
	}
	@Column(name = "BOUNS_AMT")
	public BigDecimal getBounsAmt() {
		return bounsAmt;
	}

	public void setBounsAmt(BigDecimal bounsAmt) {
		this.bounsAmt = bounsAmt;
	}
	@Column(name = "BOUNS_STATUS")
	public String getBounsStatus() {
		return bounsStatus;
	}

	public void setBounsStatus(String bounsStatus) {
		this.bounsStatus = bounsStatus;
	}
	@Column(name = "BOUNS_WORD")
	public String getBounsWord() {
		return bounsWord;
	}

	public void setBounsWord(String bounsWord) {
		this.bounsWord = bounsWord;
	}
	@Column(name = "RECV_TIME")
	public Date getRecvTime() {
		return recvTime;
	}

	public void setRecvTime(Date recvTime) {
		this.recvTime = recvTime;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Version
	@Column(name = "version")
	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
	@Column(name = "PAY_CUST_ID")
	public String getPayCustId() {
		return payCustId;
	}

	public void setPayCustId(String payCustId) {
		this.payCustId = payCustId;
	}
	@Column(name = "PAY_ACCT_ID")
	public String getPayAcctId() {
		return payAcctId;
	}

	public void setPayAcctId(String payAcctId) {
		this.payAcctId = payAcctId;
	}
	
	
	@Column(name = "MIDDLE_ACCT_ID")
	public String getMiddleAcctId() {
		return middleAcctId;
	}

	public void setMiddleAcctId(String middleAcctId) {
		this.middleAcctId = middleAcctId;
	}
	
	
	@Column(name = "RECV_CUST_ID")
	public String getRecvCustId() {
		return recvCustId;
	}

	public void setRecvCustId(String recvCustId) {
		this.recvCustId = recvCustId;
	}
	@Column(name = "RECV_ACCT_ID")
	public String getRecvAcctId() {
		return recvAcctId;
	}

	public void setRecvAcctId(String recvAcctId) {
		this.recvAcctId = recvAcctId;
	}
	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "RECV_BOUNS_MAX")
	public String getRecvBounsMax() {
		return recvBounsMax;
	}

	public void setRecvBounsMax(String recvBounsMax) {
		this.recvBounsMax = recvBounsMax;
	}

	@Column(name = "RECV_BOUNS_MAX_DESC")
	public String getRecvBounsMaxDesc() {
		return recvBounsMaxDesc;
	}

	public void setRecvBounsMaxDesc(String recvBounsMaxDesc) {
		this.recvBounsMaxDesc = recvBounsMaxDesc;
	}
	
	
	
}
